inherited fmAddEditSkladTovar: TfmAddEditSkladTovar
  Left = 581
  Top = 225
  Width = 377
  Height = 487
  Caption = #1050#1072#1088#1090#1086#1095#1082#1072' '#1090#1086#1074#1072#1088#1072
  Constraints.MinHeight = 487
  Constraints.MinWidth = 377
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited sbBottom: TStatusBar
    Top = 422
    Width = 361
  end
  inherited Panel1: TPanel
    Width = 361
    inherited BitBtn1: TBitBtn
      Left = 183
    end
    inherited BitBtn2: TBitBtn
      Left = 271
    end
  end
  object cxDBVerticalGrid1: TcxDBVerticalGrid [2]
    Left = 0
    Top = 97
    Width = 361
    Height = 320
    Align = alTop
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Tahoma'
    Font.Style = []
    LookAndFeel.SkinName = 'Office2007Silver'
    OptionsView.RowHeaderWidth = 134
    ParentFont = False
    Styles.Content = DMInv.cxData
    TabOrder = 2
    DataController.DataSource = dlgDS
    DataController.GridMode = True
    object cxDBVerticalGrid1CategoryRow1: TcxCategoryRow
    end
    object cxDBVerticalGrid1DBEditorRow1: TcxDBEditorRow
      Properties.Caption = #1058#1086#1074#1072#1088
      Properties.EditPropertiesClassName = 'TcxButtonEditProperties'
      Properties.EditProperties.Buttons = <
        item
          Default = True
          Kind = bkEllipsis
        end>
      Properties.EditProperties.OnButtonClick = cxDBVerticalGrid1DBEditorRow1EditPropertiesButtonClick
      Properties.DataBinding.FieldName = 'TOVAR'
    end
    object cxDBVerticalGrid1DBEditorRow2: TcxDBEditorRow
      Properties.Caption = #1045#1076'. '#1080#1079#1084'.'
      Properties.EditPropertiesClassName = 'TcxLookupComboBoxProperties'
      Properties.EditProperties.DropDownRows = 15
      Properties.EditProperties.KeyFieldNames = 'SDID'
      Properties.EditProperties.ListColumns = <
        item
          FieldName = 'SDNAME'
        end>
      Properties.EditProperties.ListOptions.ShowHeader = False
      Properties.EditProperties.ListSource = dsSDEd_izmer
      Properties.EditProperties.OnChange = cxDBVerticalGrid1DBEditorRow2EditPropertiesChange
      Properties.DataBinding.FieldName = 'SDID_ED_IZM'
    end
    object cxDBVerticalGrid1DBEditorRow5: TcxDBEditorRow
      Properties.Caption = #1042#1077#1089' '#1080#1083#1080' '#1054#1073#1098#1077#1084
      Properties.EditPropertiesClassName = 'TcxCalcEditProperties'
      Properties.DataBinding.FieldName = 'VESORV'
    end
    object cxDBVerticalGrid1DBEditorRow4: TcxDBEditorRow
      Properties.Caption = #1050#1086#1083#1080#1095'.'
      Properties.EditPropertiesClassName = 'TcxCalcEditProperties'
      Properties.EditProperties.Alignment.Horz = taLeftJustify
      Properties.DataBinding.FieldName = 'STKOL'
    end
    object allves: TcxCategoryRow
    end
    object cxDBVerticalGrid1DBEditorRow8: TcxDBEditorRow
      Properties.Caption = #1044#1072#1090#1072' '#1087#1088#1086#1080#1079#1074'.'
      Properties.DataBinding.FieldName = 'SDATEPROIZV'
    end
    object cxDBVerticalGrid1DBEditorRow9: TcxDBEditorRow
      Properties.Caption = #1043#1086#1076#1077#1085' '#1076#1086
      Properties.DataBinding.FieldName = 'SDATEGODEN'
    end
    object cxDBVerticalGrid1DBEditorRow3: TcxDBEditorRow
      Properties.Caption = #1059#1085#1080#1082#1072#1083#1100#1085#1099#1081' '#1090#1086#1074#1072#1088
      Properties.EditPropertiesClassName = 'TcxButtonEditProperties'
      Properties.EditProperties.Buttons = <
        item
          Default = True
          Kind = bkEllipsis
        end
        item
          Glyph.Data = {
            F6000000424DF600000000000000760000002800000010000000100000000100
            0400000000008000000000000000000000001000000000000000000000000000
            8000008000000080800080000000800080008080000080808000C0C0C0000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
            8888888888888888888888808888888888088800088888888888880000888888
            8088888000888888088888880008888008888888800088008888888888000008
            8888888888800088888888888800000888888888800088008888888000088880
            0888880000888888008888000888888888088888888888888888}
          Kind = bkGlyph
          Tag = 1
        end>
      Properties.EditProperties.OnButtonClick = cxDBVerticalGrid1DBEditorRow3EditPropertiesButtonClick
      Properties.DataBinding.FieldName = 'TUSERNUM'
    end
    object cxDBVerticalGrid1CategoryRow3: TcxCategoryRow
      Height = 19
    end
    object cxDBVerticalGrid1DBEditorRow6: TcxDBEditorRow
      Height = 50
      Properties.Caption = #1055#1088#1077#1090#1077#1085#1079#1080#1080
    end
    object cxDBVerticalGrid1DBEditorRow13: TcxDBEditorRow
      Height = 50
      Properties.Caption = #1054#1087#1080#1089#1072#1085#1080#1077' '#1090#1086#1074#1072#1088#1072
      Properties.DataBinding.FieldName = 'STNOTE'
    end
  end
  object Panel2: TPanel [3]
    Left = 0
    Top = 45
    Width = 361
    Height = 52
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 3
    object cxLabel1: TcxLabel
      Left = 8
      Top = 0
      Caption = #1058#1080#1087' '#1090#1086#1074#1072#1088#1072
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clGray
      Style.Font.Height = -11
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.LookAndFeel.SkinName = 'Office2007Blue'
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.SkinName = 'Office2007Blue'
      StyleFocused.LookAndFeel.SkinName = 'Office2007Blue'
      StyleHot.LookAndFeel.SkinName = 'Office2007Blue'
    end
    object lcbtype: TcxDBLookupComboBox
      Left = 8
      Top = 20
      DataBinding.DataField = 'STSDID_TYPE'
      DataBinding.DataSource = dlgDS
      ParentFont = False
      Properties.KeyFieldNames = 'SDID'
      Properties.ListColumns = <
        item
          FieldName = 'SDNAME'
        end>
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dsRPSType
      Properties.OnChange = lcbRPStypePropertiesCloseUp
      Properties.OnCloseUp = lcbRPStypePropertiesCloseUp
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -15
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.LookAndFeel.Kind = lfFlat
      Style.LookAndFeel.SkinName = 'Office2007Silver'
      Style.Shadow = False
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.Kind = lfFlat
      StyleDisabled.LookAndFeel.SkinName = 'Office2007Silver'
      StyleFocused.LookAndFeel.Kind = lfFlat
      StyleFocused.LookAndFeel.SkinName = 'Office2007Silver'
      StyleHot.LookAndFeel.Kind = lfFlat
      StyleHot.LookAndFeel.SkinName = 'Office2007Silver'
      TabOrder = 1
      Width = 273
    end
  end
  inherited dlgDS: TDataSource
    OnDataChange = dlgDSDataChange
    Left = 88
    Top = 8
  end
  object qSDEd_izmer: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      'SELECT t1.*'
      'FROM'
      '('
      'WITH   recursive'
      '   tree (SDNAME, SDID, SDPARID)'
      '   AS (SELECT SD.SDNAME, SD.SDID, sd.SDPARID FROM SYS_DIC SD'
      '      WHERE sd.SDPARID = 9'
      '      UNION ALL'
      '      SELECT SD1.SDNAME, SD1.SDID, sd1.SDPARID'
      ''
      '      FROM SYS_DIC SD1'
      '          INNER JOIN tree t '
      '           ON t.sdid = sd1.SDPARID)'
      ' SELECT  SDNAME, SDID, SDPARID FROM tree t'
      ') AS t1'
      'order by 1')
    GeneratorField.Field = 'SDID'
    Left = 160
    Top = 8
    object qSDEd_izmerSDNAME: TIBStringField
      FieldName = 'SDNAME'
      ProviderFlags = []
      Size = 255
    end
    object qSDEd_izmerSDID: TIntegerField
      FieldName = 'SDID'
      ProviderFlags = []
    end
    object qSDEd_izmerSDPARID: TIntegerField
      FieldName = 'SDPARID'
      ProviderFlags = []
    end
  end
  object dsSDEd_izmer: TDataSource
    DataSet = qSDEd_izmer
    Left = 128
    Top = 8
  end
  object dsRPSType: TDataSource
    DataSet = qRPSType
    Left = 192
    Top = 64
  end
  object qRPSType: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      'SELECT t1.*'
      'FROM'
      '('
      'WITH   recursive'
      '   tree (SDNAME, SDID, SDPARID)'
      '   AS (SELECT SD.SDNAME, SD.SDID, sd.SDPARID FROM SYS_DIC SD'
      '      WHERE sd.SDPARID = 37'
      '      UNION ALL'
      '      SELECT SD1.SDNAME, SD1.SDID, sd1.SDPARID'
      ''
      '      FROM SYS_DIC SD1'
      '          INNER JOIN tree t '
      '           ON t.sdid = sd1.SDPARID)'
      ' SELECT  SDNAME, SDID, SDPARID FROM tree t'
      ') AS t1'
      'where t1.sdid <> 13581'
      'order by 1')
    GeneratorField.Field = 'SDID'
    Left = 224
    Top = 64
    object qRPSTypeSDNAME: TIBStringField
      FieldName = 'SDNAME'
      ProviderFlags = []
      Size = 255
    end
    object qRPSTypeSDID: TIntegerField
      FieldName = 'SDID'
      ProviderFlags = []
    end
    object qRPSTypeSDPARID: TIntegerField
      FieldName = 'SDPARID'
      ProviderFlags = []
    end
  end
end
